package com.swu.education.repository;

import com.swu.education.entity.Activity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by nana on 2018/3/18.
 */
@Repository
public interface ActivityRepository extends JpaRepository<Activity, Integer> {
  List<Activity> findAllByAssignmentId(int assignmentId);
}
